import React from 'react'
import B from '@comps/2-Alias/B/B'
import axios from '@utils/http';

export default function A() {
  let getMeituan = async () => {
    let result = await axios.get('/ptapi/getHotFilms?ci=1&limit=10')
    console.log(result);
  }
  return (
    <div>
      <h2>{process.env.REACT_APP_NAME}</h2>
      <div>A</div>
      <B />
      <button onClick={getMeituan}>获取美团数据</button>
    </div>
  )
}
